/*
Copyright [2023] [fuwen_soft]
*/
package vip.xiaonuo.modular.xyuser.param;
import java.time.LocalDateTime;

import cn.afterturn.easypoi.excel.annotation.Excel;
import vip.xiaonuo.core.pojo.base.param.BaseParam;
import lombok.Data;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.NotBlank;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.*;

/**
* 用户信息参数类
 *
 * @author yanwei
 * @date 2023-05-05 15:44:27
*/
@Data
@ApiModel("用户信息 查询条件")
public class XyUserParam extends BaseParam {

    /**
     * 
     */
    @NotNull(message = "不能为空，请检查id参数", groups = {edit.class, delete.class, detail.class})
    @ApiModelProperty("")
    private String id;

    /**
     * 
     */
    @NotBlank(message = "不能为空，请检查openId参数", groups = {add.class, edit.class})
    private String openId;

    /**
     * 微信昵称
     */
    @NotBlank(message = "微信昵称不能为空，请检查nickName参数", groups = {add.class, edit.class})
    private String nickName;

    /**
     * 微信头像
     */
    @NotBlank(message = "微信头像不能为空，请检查imgUrl参数", groups = {add.class, edit.class})
    private String imgUrl;

    /**
     * 手机号
     */
    @NotBlank(message = "手机号不能为空，请检查phoneNumber参数", groups = {add.class, edit.class})
    private String phoneNumber;

    /**
     * 谱号_唯一标识
     */
    @NotBlank(message = "谱号_唯一标识不能为空，请检查genealogyHost参数", groups = {add.class, edit.class})
    private String genealogyHost;


    /**
     * 是否支持创建家谱
     */
    @ApiModelProperty("是否能创建族谱,1=不可以,2=可以")
    private String isSupport;

}
